package part2;

public abstract class patr2_3_5 {
    public String getPay() {
        return pay;
    }

    public void setPay(String pay) {
        this.pay = pay;
    }

    private String pay;
    public patr2_3_5(String pay){
        System.out.println("每月资费"+pay);
        this.pay=pay;
    }
}
